package com.ruoyi.project.cms.pro.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.project.cms.pro.domain.CmsProTask;
import com.ruoyi.project.cms.pro.mapper.CmsProTaskMapper;
import com.ruoyi.project.cms.pro.service.CmsProTaskService;
@Service
public class CmsProTaskServiceImpl implements CmsProTaskService{

    @Resource
    private CmsProTaskMapper cmsProTaskMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return cmsProTaskMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(CmsProTask record) {
        return cmsProTaskMapper.insert(record);
    }

    @Override
    public int insertSelective(CmsProTask record) {
        return cmsProTaskMapper.insertSelective(record);
    }

    @Override
    public CmsProTask selectByPrimaryKey(Integer id) {
        return cmsProTaskMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(CmsProTask record) {
        return cmsProTaskMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CmsProTask record) {
        return cmsProTaskMapper.updateByPrimaryKey(record);
    }

}
